
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title><s:message code="M_4A00_WHS_MTRL_TAG" /></title>
    <%@ include file="/page/comPage/comCSS.html"%>
    <%@ include file="/page/comPage/navbar.html"%>
    <style>
        #topDiv{
            margin-top:20px;
        }
        .bottomDiv{
            margin-top:10px;
        }
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="col-sm-12 btnDivCss">
        <button class="btn btn btn-primary" id="import_btn">CSV<s:message code="IMPORT_TAG" /></button>
        <button class="btn btn-success"     id="save_btn"><s:message code="SAVE_TAG"/></button>
    </div>
    <div id="topDiv" class="col-sm-12">
        <fieldset>
            <legend></legend>
        </fieldset>
    </div>
    <div class="col-sm-12 bottomDiv">
        <fieldset>
            <legend><s:message code="TOOL_INPUT_LIST_TAG"/></legend>
        </fieldset>
        <div id="prdListDiv" class="col-sm-12">
            <table id="prdListGrd" style="height: 1px;"></table>
            <div id="prdListPg"></div>
        </div>
    </div>
</div>
<div id="uploadModel" class="modal fade" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">导入单</h4>
            </div>
            <div class="modal-body">
                <form id="uploadForm" action="csvUpload.do" method="post" target="hiddenForm" enctype="multipart/form-data">
                    <input type="file" name="file" id="fileinput" />
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button id="uploadBtn" type="button" class="btn btn-primary">导入</button>
            </div>
        </div>
    </div>
</div>
<%@ include file="/page/comPage/comJS.html"%>
<script src="js/page/4000/4A00.js"></script>
</body>
</html>